
c1 = 'GTA'
c2 = 'GTC'
c3 = 'GTT'
c4 = 'GTG'

codon_list = [c1, c2, c3, c4]
ns = [20, 40, 20, 20]


codons = ''
for i in range(len(codon_list)):
    for j in range(ns[i]):
        codons+=codon_list[i]+','
print codons[:-1]

aas= ''
for i in range(sum(ns)):
    aas+='valine,'
print aas[:-1]